package 观察者模式;

public class StockObserver2 extends  Observer {

    public StockObserver2(String name, Subject sub) {
        super(name, sub);
    }

    @Override
    public void Update() {
        System.out.println(name+sub.getSubjectState()+"请原地辞职");
    }
}
